package com.caocaog.market.data.transfer.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.caocaog.market.data.transfer.entity.CcAgent;
import com.caocaog.market.data.transfer.entity.CcAgentAreaToLead;
import com.caocaog.market.data.transfer.mapper.CcAgentAreaToLeadMapper;
import com.caocaog.market.data.transfer.mapper.CcAgentMapper;
import com.caocaog.market.data.transfer.service.CcAgentAreaToLeadService;
import com.caocaog.market.data.transfer.service.CcAgentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liguang
 * @version 1.0.0
 * @Project jeecg-boot
 * @Package com.caocaog.market.data.transfer.service.impl
 * @ClassName CcAgentAreaToLeadServiceImpl.java
 * @createTime 2021年11月16日 10:07:00
 * @Description TODO
 */
@Service
public class CcAgentAreaToLeadServiceImpl extends ServiceImpl<CcAgentAreaToLeadMapper, CcAgentAreaToLead> implements CcAgentAreaToLeadService {


    @Override
    public IPage<CcAgentAreaToLead> findAllSiteAreaByOriginal(Page<CcAgentAreaToLead> page, CcAgentAreaToLead ccAgentAreaToLead) {
        return super.getBaseMapper().findAllSiteAreaByOriginal(page,ccAgentAreaToLead);
    }

    @Override
    public int countForfindAllSiteAreaByOriginal(CcAgentAreaToLead ccAgentAreaToLead) {
        return super.getBaseMapper().countForfindAllSiteAreaByOriginal(ccAgentAreaToLead);
    }

    @Override
    public List<CcAgentAreaToLead> findAllSiteAreaForNoPage(CcAgentAreaToLead ccAgentAreaToLead) {
        return super.getBaseMapper().findAllSiteAreaByOriginal(ccAgentAreaToLead);
    }
}
